package com.thread;

import com.utils.DateUtil;
import java.util.Date;
import org.apache.log4j.Logger;

public class ThreadQuartz
  implements Runnable
{
  Logger logger = Logger.getLogger("flume");

  public Integer i = Integer.valueOf(0);

  public void run() {
    while (true) { this.i = Integer.valueOf(this.i.intValue() + 1);
      this.logger.info(DateUtil.getDateTimeStr(new Date()) + "              " + String.valueOf(this.i));
      try {
        Thread.sleep(1000L);
      }
      catch (Exception localException)
      {
      }
    }
  }
}